<?php
include '../lib/BLL/DonViBLL.php';
include '../lib/BLL/DmNganhBLL.php';
include '../lib/BLL/DmMonHocBLL.php';
include '../lib/BLL/DonViHocVuBLL.php';
include '../lib/BLL/SinhVienBLL.php';
include '../lib/BLL/DmCaHocBLL.php';

$dv = new DonViBLL();
$nganh = new DmNganhBLL();
$mh = new DmMonHocBLL();
$dvhv = new DonViHocVuBLL();
$sv = new SinhVienBLL();
$cathi = new DmCaHocBLL();

$ds_nganh = $nganh->getListNganh();
$ds_dv = $dv->getListDonVi_Lienket();
$ds_mh = $mh->getListDmMonHoc();
$ds_dvhv = $dvhv->getListDonViHocVu();
$ds_sv = $sv->getListSinhvien();
$ds_cathi = $cathi->getListDmCaHoc();

$smarty->assign('ds_mh',$ds_mh);
$smarty->assign('ds_dv',$ds_dv);
$smarty->assign('ds_nganh',$ds_nganh);
$smarty->assign('ds_dvhv',$ds_dvhv);
$smarty->assign('ds_sv',$ds_sv);
$smarty->assign('ds_cathi',$ds_cathi);
$smarty->assign('date',date('Y-m-d'));

$smarty->display('tochucthi/dsthi_chitiet.tpl');
?>